package com.sweet.service;

import com.sweet.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sweet-provider-payment")
@Component
public interface IOrderService {
    @GetMapping("/orders")
    Result getList(@RequestParam("curPage") Integer curPage, @RequestParam("pageSize") Integer pageSize);

    @GetMapping(value = "/payment/lb")
    String getPaymentLB();
}
